#import <UIKit/UIKit.h>

@interface CustomTranslationView : UIView <UITextFieldDelegate>
@property (nonatomic, strong) UIView *backgroundView;
@property (nonatomic, strong) UIView *contentView;
@property (nonatomic, strong) UITextField *originalTextField;
@property (nonatomic, strong) UITextField *translationTextField;
@property (nonatomic, strong) UIButton *saveButton;
@property (nonatomic, strong) UIButton *cancelButton;

- (void)show;
@end

@interface TranslationManagerView : UIView <UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate>
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSMutableDictionary *customTranslations;
@property (nonatomic, strong) NSMutableDictionary *filteredTranslations;
@property (nonatomic, assign) BOOL isSearching;

- (void)close;
- (void)loadTranslations;
- (void)backToAddView;
@end